<template>
	<div>
		<Card>
			案例列表 <Icon type="ios-arrow-forward" /> 项目列表 <Icon type="ios-arrow-forward" /> 项目详情
		</Card>
		<Card>
			
		</Card>
	</div>
</template>

<script>
	import path from '@/api/path.js';
	let url = path.url;
	import axios from '@/libs/api.request';
	export default {
		data(){
			return {
				
			}
		},
		methods: {
			getDetails(){
				let obj = this.$route.query.obj
				axios.request({
					url: `${url}CaseArticleCate/editCaseArticle`,
					method: 'post',
					data: JSON.parse(this.$route.query.obj)
				}).then(res => {
					console.log('获取的数据',res,'传递的数据：',JSON.parse(this.$route.query.obj));
					if (res.data.status == 1) {
						console.log(res);
					} else {
						throw res.data.msg
					}
				})
			}
		},
		created(){
			this.getDetails();
		}
	}
</script>

<style>

</style>
